﻿
IF (EXISTS(SELECT id from sysobjects where id=object_id('usp_AddElection')))
	DROP PROCEDURE [dbo].[usp_AddElection]
GO

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go




create procedure usp_AddElection
@ElectionDescription as nvarchar(50),
@ElectionDate as datetime,
@ElectionResultDate as datetime
as


insert into TblElection (ElectionDescription,ElectionDate,ElectionResultDate)
values
(@ElectionDescription,@ElectionDate,@ElectionResultDate)
